import axios from './index.js'

// 验证手机号码是否被注册
export function docheckphone(data) {
    return axios.post("user/docheckphone", data);
}

// 发送短信验证码
export function dosendmsgcode(data){
    return axios.post("/user/dosendmsgcode", data)
}

// 验证短信验证码
export function docheckcode(data){
    return axios.post("/user/docheckcode", data)
}

// 密码验证
export function dofinishregister(data){
    return axios.post("/user/dofinishregister", data)
}